package org.mao.forum.service;

import java.util.List;

import org.mao.base.BaseService;
import org.mao.forum.entity.ForumPost;
import org.mao.forum.vo.ForumPostImageVo;
import org.mao.forum.vo.ForumPostVo;
import org.mao.util.Page;

public interface ForumPostService extends BaseService<ForumPost> {

	public List<ForumPostVo> queryBySectionId(Integer sectionId, Page page);

	public List<ForumPostImageVo> queryByPostId(Integer postId);

	public List<Integer> queryUnFoundTorrentUrl();
	
	public List<Integer> queryUnFoundImage();

	public void reReadTorrentUrl(Integer postId);

	public void reReadImageList(Integer postId);

	public Boolean saveImage(Integer postImageId);

	public Boolean saveTorrent(Integer postId);
}
